extends layout/pure

block link
    link(rel='stylesheet', href='/vendor/bootstrap-notify/animate.css')
    link(rel='stylesheet', href='/css/login.css')


block content
    body
        #login.center-vertical
            form.well(id='form-login', method='post')
                h2 XJTUEI
                h6 请登录您的账号
                .form-group
                    label 用户名
                    input.form-control(type='text', id='user-name', name='user')
                .form-group
                    label 密码
                    input.form-control(type='password', id='pass-tf', name='pass')
                .controls
                    button(type='button').btn.btn-default.button-rememember-me
                        span.glyphicon.glyphicon-unchecked.button-rememember-me-glyph
                        | 记住我
                    button(type='submit').btn.btn-primary.button-sign-in
                        span.glyphicon.glyphicon-lock
                        | 登录
                .clearfix
                hr
                .btm-links
                    #forgot-password
                        a(href='#') 忘记密码?
                    #create-account
                        a(href='/signup') 申请账号
                .clearfix

        include modals/alert
        include modals/lost-password

block scripts
    script(src='/vendor/bootstrap-notify/bootstrap-notify.js')
    script(src='/js/views/myNotify.js')
    script(src='/js/views/login.js')
    script(src='/js/controllers/loginController.js')
    script(src='/js/form-validators/loginValidator.js')
    script(src='/js/form-validators/emailValidator.js')